#ifndef _PAGEGENERALCHARACTERISTICS_H_
#define _PAGEGENERALCHARACTERISTICS_H_

#include "afxwin.h"


// CPageGeneralCharacteristics dialog

class CPageGeneralCharacteristics : public CDialog
{
  DECLARE_DYNCREATE(CPageGeneralCharacteristics)

public:
  CPageGeneralCharacteristics(CWnd* pParent = NULL);   // standard constructor
  virtual ~CPageGeneralCharacteristics();
// Overrides
//  HRESULT OnButtonOK();//IHTMLElement *pElement);
//  HRESULT OnButtonCancel();//IHTMLElement *pElement);

// Dialog Data
  enum { IDD = IDD_DIALOG_GENERAL_CHARACTERISTICS};

protected:
  //virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
//  virtual BOOL OnInitDialog();

  DECLARE_MESSAGE_MAP()
  //DECLARE_DHTML_EVENT_MAP()
public:
  // variable for counting scrolling of dialog
  virtual BOOL OnInitDialog();

  int m_VScrollCount, m_HScrollCount;
  virtual void GetClientRect(LPRECT lpRect);
  // scrolls the dialog
  void mScroll(int h, int v);
protected:
 // virtual void OnOK();
private:
  // functions prepares rectangle of control to move this control
  void PrepareRect(LPRECT pR, int h, int v);
  // variable will be true if the client size was scanned
  bool m_IsScannedClientRect;
  RECT m_OriginalClientRect;


};

#endif